﻿<Window x:Class="fOrganiz.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="fOrganiz" Height="250" Width="600" Icon="/fOrganiz;component/Images/icon.png" ResizeMode="NoResize" Topmost="False" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow">

    <Window.Background>
        <ImageBrush ImageSource="/Images/body.jpg" TileMode="Tile" Viewport="0,0,85,86" ViewportUnits="Absolute"  Viewbox="0,0,85,86" ViewboxUnits="Absolute" ></ImageBrush >
    </Window.Background >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="85" />
            <RowDefinition Height="10"/>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="450" />
        </Grid.ColumnDefinitions>

        <StackPanel Grid.ColumnSpan="2" Orientation="Horizontal" Grid.Column="0" Grid.Row="0">
            <StackPanel.Background>
                <ImageBrush ImageSource="/Images/header.png" TileMode="None" ></ImageBrush >
            </StackPanel.Background>
            <Image Source="/fOrganiz;component/Images/icon.png" Stretch="Fill" Width="80" Height="80" Margin="10,0,0,0" />
            <Label Content="fOrganiz"  HorizontalAlignment="Left" Name="lblAppName" Foreground="White" FontSize="40" FontFamily="Arial" VerticalAlignment="Center">
  
        </Label>

        </StackPanel>

        <Label Content="Source Directory" Grid.Column="0" Grid.Row="2" Name="lblSource" />
        <Grid  Grid.Column="1" Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="212*" />
                <ColumnDefinition Width="40" />
            </Grid.ColumnDefinitions>
            <TextBox Grid.Column="0"   Name="txtSource" Text="" />
            <Button Grid.Column="1" Name="btnSource" Click="btnSource_Click">...</Button>
        </Grid>
       

        <Label Content="Destination" Grid.Column="0" Grid.Row="3" Name="lblDestination" />
        <Grid  Grid.Column="1" Grid.Row="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="40" />
            </Grid.ColumnDefinitions>
            <TextBox Grid.Column="0"  Name="txtDestination" Text="" />
            <Button Grid.Column="1" Name="btnDestination" Click="btnDestination_Click">...</Button>
        </Grid>
     
        <Label Content="Sub-Folder pattern" Grid.Column="0" Grid.Row="4" Name="lblPattern" />

        <TextBox Grid.Column="1" Grid.Row="4" Name="txtPattern" Text="yyyy-MM-dd" />



        <Label Content="0" Grid.Column="0" Grid.Row="5" Name="lblCurrentProcessingPhotoNumber" HorizontalContentAlignment="Right" />
        <Label Content="Photos organized" Grid.Column="1" Grid.Row="5"  />

        <Button Grid.ColumnSpan="2" Content="Start" Grid.Column="0" Grid.Row="6" Name="btnStart" Click="btnStart_Click" />
    </Grid>
</Window>
